package com.xc.h05.scheduling;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.swing.*;

@Component //声明bean
public class SchedulerTask {
    /*@Scheduled(cron = "0/3 * * * * * ")
    public void test(){
        System.out.println("发动");
    }*/
}
